/*  1:   */ package com.atomikos.icatch.admin.jmx;
/*  2:   */ 
/*  3:   */ import com.atomikos.icatch.admin.LogAdministrator;
/*  4:   */ import com.atomikos.icatch.admin.LogControl;
/*  5:   */ 
/*  6:   */ class JmxLogAdministrator
/*  7:   */   implements LogAdministrator
/*  8:   */ {
/*  9:47 */   private static final JmxLogAdministrator theInstance = new JmxLogAdministrator();
/* 10:   */   private LogControl logControl;
/* 11:   */   
/* 12:   */   public static JmxLogAdministrator getInstance()
/* 13:   */   {
/* 14:51 */     return theInstance;
/* 15:   */   }
/* 16:   */   
/* 17:   */   public synchronized void registerLogControl(LogControl control)
/* 18:   */   {
/* 19:71 */     this.logControl = control;
/* 20:   */   }
/* 21:   */   
/* 22:   */   public synchronized LogControl getLogControl()
/* 23:   */   {
/* 24:83 */     return this.logControl;
/* 25:   */   }
/* 26:   */   
/* 27:   */   public synchronized void deregisterLogControl(LogControl control)
/* 28:   */   {
/* 29:92 */     this.logControl = null;
/* 30:   */   }
/* 31:   */ }


/* Location:           C:\myfile\mysoft\apache-maven-3.5.0-bin\apache-maven-3.5.0\myrep\com\atomikos\transactions\3.7.0\transactions-3.7.0.jar
 * Qualified Name:     com.atomikos.icatch.admin.jmx.JmxLogAdministrator
 * JD-Core Version:    0.7.0.1
 */